﻿<Window x:Class="WPF_hl_17xy_cn.MainWindow2"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525" WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Top">
            <Button Content="登录" Name="_ctlBtnLogin" Click="OnBtnLogin_Click" />
            <Button Content="自动购买带星球员" Name="btnAutoAuction" Click="btnAutoAuction_Click" />
            <TextBlock Name="_ctlTextCount"/>
        </StackPanel>
        <TabControl Grid.Row="1" >
            <TabItem Header="Log">
                <TextBox IsReadOnly="True" Name="_ctlEditLog" VerticalScrollBarVisibility="Visible" />
            </TabItem>
            <TabItem Header="Players">
                <DataGrid Name="_ctlGridPlayers"/>
            </TabItem>
        </TabControl>
    </Grid>
</Window>
